package io.github.uicdb.et;

import io.github.uicdb.et.net.ElementAttachmentData;
import net.minecraft.world.entity.LivingEntity;

public interface IElementAttachment {
    ElementAttachmentData elemental_theory_getElementData();
    void elemental_theory_setElementData(ElementAttachmentData data);
    static ElementAttachmentData getDataHandler(LivingEntity livingEntity) {
        return ((IElementAttachment)livingEntity).elemental_theory_getElementData();
    }
    static void setData(LivingEntity livingEntity, ElementAttachmentData data) {
        ((IElementAttachment)livingEntity).elemental_theory_setElementData(data);
    }
}
